home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
util
/
wb
/
MultiUsage2.lha
/
MultiUsage_v2.0
/
Manual.English
< prev
next >
Wrap
Text File
|
1999-01-02
|
10KB
|
213 lines
* MultiUsage v2.0 *
Shareware Version
Made by BOUCHON Guillaume
With Blitz Basic 2.1 (Acid Software)
Copyright GUGU BEST SOFTWARE
All Rights Reserved * 1999 *
Send me your sugestions,remarks of MultiUsage by E-mail :
bouchon@ese-metz.fr
or by postcard at the adress :
BOUCHON Guillaume
2 Rue des fleurs
30150 MONTFAUCON
FRANCE
1 - Some notes
--------------
* If you're good in French, please see the french doc.It's contain more
informations than the English doc.
* Sorry for this fast doc but MultiUsage is not very difficult to use.
* GUGU BEST SOFTWARE have no responsability in the damages may can do this program.
* Sorry about my bad English ! I'm not English ! I'm French ! (World Champion...)
* For unknow reasons, the Blitz's debugger crash if MultiUsage runs.If you know how
to kill this bug , contact me !!!
. * This is a shareware so I invite you to register now (see chapter 6)
* MultiUsage has just been tested on an Amiga 1200 with Workbench 3.0 ,
the turbo card MTEC 68030 28 Mhz + 8 Mb of Fast.It works fine !
2 - Using MultiUsage
--------------------
MultiUsage is a small but very powerful util.It doesn't need a powerful Amiga
and it works fine with very low memory.
The function of MultiUsage is to get more easy the using of the files with
the Workbench.On the WorkBench,when you double click on a file
,you have to type very long Cli command for a type of file.Per example, when you
double click on a Lha archive,you must type Lha x <file> <destination> for each
archive.It's very long and boring !! But with MultiUsage, all the disagreement of
the Workbench will deseapear !! It's easiest and fastest than all the other programs
which have tried to get more easy the using of the files (like NewIcons,Directory
Opus,...)
When MultiUsage is running (first,you have to install it), a new icon appear on the
Workbench' screen.When you drop one or many files on this icons, if the type of the
file is recognize,the good program will be used with this file automaticelly !
Per example, you have dropped gugu.lha,MultiUsage will call Lha automaticelly !!
Or if you drop gugu.gif , a Gif Viewer like Viewtek will be call ! It's super !
To recognize a type of file,you must create a filetype to MultiUsage with Filetype
Editor (see chapter 5).
3 - Shareware version
---------------------
On Internet,in the magazine's Cds or disks..., MultiUsage version 2.0 is only
Shareware.If you have a registered version and you have never registered it, you
have got a pirate version.You have to kill it immediatelly and to get a good version of
MultiUsage.
MultiUsage is shareware so it doesn't contain all the features of the registered
version.If you like this util, please register now (see chapter 6).In the version
shareware, you can only use 10 filetypes so it is very limited.It's the only
difference between the registered and shareware version.But if you're registered,
you will informed about all the news of GUGU BEST SOFTWARE and you will be offered
the new versions of MultiUsage gratuitious.
4 - Installation on the Hard Disk
----------------------------------
MultiUsage is very easy to install so I didn't make an install program.
To install MultiUsage, just follow the instructions :
- Open the Cli or the Shell in the Workbench
- Go in the MultiUsage directory (ex: Hd:internet/multiusage/)
- Type : C:Copy MultiUsage_v2.0.english to C: (or MultiUsage_v2.0.français)
then validate.
- Type : C:Rename C:MultiUsage_v2.0.english to C:MultiUsage
then validate.
- Type : C:Copy FileType_Editor.english to C:
then validate.
- Type : C:Rename C:Filetype_Editor.english to C:Filetype_Editor
then validate
- Type : C:Copy fonts/ to Fonts: all
then validate
- Type : C:Copy s/ to S: all
then validate
- Now modify your startup-sequence (or user-startup) : add BEFORE C:Endcli >nil:
C:Run <>nil: C:MultiUsage
- ReRun your Computer .
Normally, MultiUsage will work fine.
5 - Using FileType Editor
-------------------------
When Filetype Editor is launching, a new window appear on the Workbench' screen.
At the left of the window, there is the list of the filetypes created.A filetype
is used to recognize the files.In this version of MultiUsage, the files are only
recognize by their names.Per example, for a Lha archive, the filetype is .lha .
Or for a Gif picture,the filetype is .Gif. So all the files which finish by .lha or
.gif will be recognize and a script will be execute.This script must be write on the
right of the window.
* Writing a script for a filetype *
The script can contain AmigaDos commands like C:Lha or C:Vt or it can contain
MultiUsage commands.All the MultiUsage commands begin by % and the AmigaDos commands
begin with nothing.On a line, there can be only one AmigaDos command and an
infinity of MultiUsage commands.I will not talk about the AmigaDos commands because
everybody know what are they but I will talk about the MultiUsage commands.These
commands make more powerful the script.All these commands begin by %. To show you
all the powerful and necessity of these commands, lets examinate this example :
This is a script for the .lha filetype :
C:Lha x %f %pr
It's all ! It seems complicated but it's very easy.If you drop a lha archive, a
path requester will appear to ask you where you want to dearchive the file.All of
this in only one line !
The synopsis of the AmigaDos command Lha is <option> <file> <destination>
Here, C:Lha is the AmigaDos command. 'x' seems that we want to dearchive.
%f and %pr are MultiUsage commands.When the script is executed,%f is replaced
by the name of the file dropped and %pr is replaced by the name of the path
selected by a path requester (after opening).So if you have dropped gugu.lha and
selected the directory ram: , MultiUsage execute : C:Lha x gugu.lha ram:.
For a Gif picture,you have to type : C:Vt %f (Vt is a Gif viewer)
Note : A MultiUsage command can have arguments.These arguments must be separate
by # of the name of the command.Example : %pr#"Please select a Path ?"
"Path ?" is a text argument.The %pr command will open a path requester with the
title 'Please select a Path ?'
Here there are all the MultiUsage commands and their effects:
%f : Replace %f by the name of the file dropped
%pr : Replace %pr by the name of the path selected with a path
requester
Other synopsis : %pr#"title" => set the title of the requester
%pr#drop => name between " "
%fr : Replace %fr by the name of the file selected with a file
requester
Other synopsis : %fr#"title" => set the title of the requester
%pr#drop => name between " "
%lf : Replace %lf by the name of the last file selected by a requester
%lp : Replace %lp by the name of the last path selected by a requester
%mousewait : Wait the user to push a mouse button
%sameas#filetype : Use the script of another filetype
%stop : Stop the execution of the script
%message#"text" : Open a window with a message
%killmessages : Close the window with the messages
%wait#time : Wait some times
Some commands of MultiUsage are tests.There are very useful in a script.These tests
are in loops (like in the basic : IF test ... ENDIF).If the test is true, the loop
is executed else it's ignored.All the loop finish by %endcond.
Note : In this version, a loop can't contain more than one test.
Here, there is an example to understand what I said :
%fileexists
%message#"The file exists !!!"
%endcond
In this example, if the file exists (the file selected by a requester), the
message 'The file exists !!!' will apear.Else, it won't appear
Here there is the list of all the tests and loops :
%fileexists : Test if the file selected by a requester exists.
%filenotexists : Test if the file selected by a requester doesn't exist
%pathnotexists : Test if the path selected doesn't exist
Caution : This command have some problems.
%pathexists : Test if the path selected exists (see %pathontexists)
%else : If the test isn't true,script continues after %else
%endcond : Close the loop
Here there is a big script for a Lha archive :
%message#"This is a Lha archive !!"
%pr#"Destination path ?"
%pathexists
C:Lha x %f %lp
%wait#100
%else
%message#"The path doesn't exists !!!"
%wait#100
%endcond
%killmessages
6 - Registration
----------------
To be registrered, you have to send by e-mail or by postcard at these adress :
E-mail: bouchon@ese-metz.fr
Mail: BOUCHON Guillaume
2 Rue des fleurs
30150 MONTFAUCON
FRANCE
this tiket filled and a small cheque :
SURNAME: ------------------------ NAME: --------------------------
E-Mail: -------------------------- (you must fill this !)
Adress: --------------------------
--------------------------
--------------------------
City: --------------------------
Postal code : ---------------------
Country: --------------------------
NOTE VERY IMPORTANT :To get registered, you must send me (by mail only) a
small cheque of 20 Francs Français or 3,05 euros at the order of BOUCHON
Guillaume.
You will receive a registration number which you will must type it in the
registration program.
Thanks you !